package com.guli.mall.wms.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

/**
 * 库存工作单
 * 
 * @author 罗俊华
 * @email 1007052116@qq.com
 * @date 2020-09-29 21:37:28
 */
@Data
@TableName("wms_ware_order_task")
public class WareOrderTaskEntity implements Serializable {
	private static final long serialVersionUID = 1L;


	/**
	 * id
	 */
	@TableId
	@JsonSerialize(using = ToStringSerializer.class)
	private Long id;

	/**
	 * order_id
	 */
	private Long orderId;

	/**
	 * order_sn
	 */
	private String orderSn;

	/**
	 * 收货人
	 */
	private String consignee;

	/**
	 * 收货人电话
	 */
	private String consigneeTel;

	/**
	 * 配送地址
	 */
	private String deliveryAddress;

	/**
	 * 订单备注
	 */
	private String orderComment;

	/**
	 * 付款方式【 1:在线付款 2:货到付款】
	 */
	private Integer paymentWay;

	/**
	 * 任务状态
	 */
	private Integer taskStatus;

	/**
	 * 订单描述
	 */
	private String orderBody;

	/**
	 * 物流单号
	 */
	private String trackingNo;

	/**
	 * create_time
	 */
	@TableField(fill = FieldFill.INSERT)
	private Date createTime;

	/**
	 * 仓库id
	 */
	private Long wareId;

	/**
	 * 工作单备注
	 */
	private String taskComment;

}
